//
//  HRBaseRequstDataModel.h
//  Hear
//
//  Created by mac on 2017/3/26.
//  Copyright © 2017年 mac. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface HRBaseRequstDataModel : NSObject<NSCoding>

+ (id)modelBundingData:(NSDictionary *)dict;
- (id)bundingData:(NSDictionary *)dict;    //绑定数据
- (NSDictionary *)toDictionary;              //转化DataModel为数组
- (NSDictionary *)toDictionaryWithItemPrompt:(NSString *)prompt  andIndex:(NSInteger)index;     //转化为带索引的描述型字典表示

- (void)clearData;                          //清除类数据
- (NSArray *)getAllPropertyNames;            //获取所有属性名称数组

- (void)archiverToFile:(NSString *)fileName;        //归档
- (id)unArchiverFromFile:(NSString *)fileName;      //反归档


@end
